/*
 * @Author: huangtianyang 916072572@qq.com
 * @Date: 2023-11-22 16:19:19
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-06-04 09:19:27
 * @FilePath: \cxl-driving-training\src\views\mini\FAQ\config.ts
 */
export const tableConfig = {
    headerOperation: [
        {
            type: 'create',
            visible: true,
            permission: ['POST:/api/system/faq/manage/add'],
            className: '',
            name: '新增',
            button: 'button',
            buttonType: '',
            radioGroup: []
        }
    ],
    search: [],
    permission: [],
    table: {
        operationWidth: '82px',
        operation: [
            {
                type: 'edit',
                visible: true,
                permission: ['POST:/api/system/faq/manage/edit'],
                className: '',
                name: '编辑'
            }
        ],
        propName: {
            title: '标题',
            content: '内容',
            status: '状态',
            createBy: '操作人',
            updateTime: '操作时间'
        },
        showSummary: false,
        selection: false,
        index: false,
        isDialog: false,
        summaryArray: [],
        summaryType: '',
        sortable: [],
        switch: {
            disabled: false,
            permission: ['POST:/api/system/faq/manage/updateDisable'],
            tooltip: {
                visible: false,
                content: ''
            }
        }
    }
}
